Add tests for E-needstest issues
Merge pull request #19780 from jakub-/e-needstest

Add tests for E-needstest issues

Reviewed-by: alexcrichton