When running unit tests there should not be an instantiation of `Application` afaik.
Something else must be wrong since the tests for the advanced app runs fine without this error.