Moving testcases to the global scope