add test in MonkeyTest
refactoring MonkeyTest