Add a unit test for #27