added tests, and a create player action