More enviroment config and one karma test

see if codeship lets this trough