Additional tests for #167.