Test that the code does as it should