This should ideally go into the util class no? Dont we think other tests could benefit from it?