ApplicationTrait test coverage 22% -> 100%