Move tests to a file