#4776#4779 test for both