Add a regression test to make sure sanitising is consistent