Make tests/run compile again
Update tests (newtypes are now properly recognized)
Use getInterfaces in the test suite (fixes #24)