Squares test