Add karma configuration and controllers tests