Unit test for #34