some karma tests