extracted spec_helper