Looks like this is checking a few different things, so could be split into about 3 tests.