Updated dependencies to work with newer mongoid versions and added spec helper