Fix running tests without the core target specified.