missing tests for #659
missing tests for #659