Registered the object formatter.
Added the tests for the offer controller.