These should probably be split into two separate tests.