added tests for player