More changes to make Travis work.

Removed 'require 'spec_helper'' from the factories file. If this commit doesn't solve the problem, then will do another pull request with fixed branch.