The $project use has changed in 3873e4ba008cfc2af7e26ca86665affc289cd677. The test isn't really reliant on $project anyway, it just tests that any other module identifier doesn't interfere with core notification settings.
API Remove lots of deprecated module code from ClassManifest