add karma end to end tests