move to spec_helper