added tests in levelTest and PositionTest