Added tests for stream bind hook