Goodness-of-fit tests for correlated paired binary data