Add a test for #5