This test is waaayyyyy too complicated, I'm open to ideas about how to do this more readibly/simply