[streaming] Updated operator test to avoid environment execution