Add some karma tests