Create test_querybuilder.py

TODO: Need to finish writing unit test.