Separate test helpers into different files
Move interface test and supporting code to separate file