fix broken tests. Changed before :all to before :each was the big fix