Made Cover() macro faster

Skip the function call when no test case is running.