compile tests into tests.js to surpress errors