new prototype for test env w/karma