Replace old testacular with karma unit tests