added tests for valid player input