minor bug fix
fixed a unit test - prevent parameter validation exception by using non-empty stream