add test for isPositionAvailable()
add test for getSquare()
add test for getSquare(), add 2 tests
fix TSquare tests
remove 'message'
add one test case for pattern matching