boolean methods added to check move and according testclass