e2e, unit, and midway testing using karma