Moving ObjectResult as a field instead of deriving from it. Also adding functional tests.