48234371 Add unit test for resource instance GET. Cleanup obsolete code.