Added tests for collidesWith method of piece class