add tests for issue 2926