update test code to test for #28