Cleaned up tests by creating spec_helper file & putting repeated code in file