added test setup in spec_helper file