Config Karma and add example test