added tests for init_player file