refactoring of tests: using a mock for the Grid in the playerTest
method refactoring