fix test issues where it was loading the data multiple times.