extracted spec_helper setup