Unit test for #129