Fixed rspec tests and the jenkins build