OPS-1879: added test for long input