writing tests for PlayerModule