wrote some tests for service objects; needs work. Fixed model tests.