Karma unit test

Associated with https://github.com/Rise-Vision/widget-tester/pull/10