modified spec_helper