Modified tests for function removePlayer