add first working test for main.js