Fixed some bugs in the spec_helper file.