Add test for compiler errors on require()d files