Split tests and code.