Added more Karma tests