Unit test for #19