fixes to spec_helper