Remove rails dependecy from some more specs

Again to make the specs faster