Fix maven test bug

When running the mvn test, it will throw such exception in core module--"Class mocking requires to have cglib and objenesis librairies in the classpath"
So adding cglib and objenesis in pom.xml at core module can avoid such problem.