adds the rest of the unit tests for routes/templates
reconfigures karma a tiny bit'
mocks in but I can't get beyond the api presently