adding test cases for streamJunction and queries
adding support for complex output attributes in selector