Unit test coverage for app and db