fixes issue #1863 tests