Refactor test execution methods

Conflicts:
	src/tests/CpuTests.java