configured karma + basic test for app-main (renamed to _app-main)