Could we factorize these tests, since they're doing the same thing.