cleanup unit test
improve query matcher
add travis build configuration