Fixed tests for function addPlayer