Add tests for #121994