rearranged spec_helper file to see if it makes travis pass