Test seemed to be failing before test was set up properly