Fix maven test library scope
Added JSON mapping to Object test