added tests in levelTest