test objects to gen dir