Merge pull request #75 from sacjaya/master

modified test cases
bug fixing in query writer
Merge pull request #76 from isururanawaka/master

bug fixing in query writer
add labels attribute to thread Stream
Merge pull request #77 from isururanawaka/master

add labels attribute to thread Stream
bug fixing