minor internal renames
removing duplicated code, switching to OK/CREATED instead of strings
fixing tests as a result of changes to the service, putting some new test code in under try block