using objenesis for object creation and a few other util methods