finished tests and fixes for app registration
adding in tests for getting resources