return IHttpActionResult from action methods, added unit tests