Implemented checkTest, works for rook and all passes test for rook