tests for #170