complete test coverage for appmodel