barebones tests in main.js