Add some server modules. Fix karma tests falling with PhantomJS