Move before and after methods to spec_helper.