How to use test-tools to build functional tests for hive