Added tests for Level and finished registerPlayer

Added the Mockito mocking framework.