get rid of the replicated tests inside here. (just do it once)