HIVE-4539 : Move test utils and fix build to remove false test failures (Tony Murphy via Ashutosh Chauhan)

git-svn-id: https://svn.apache.org/repos/asf/hive/branches/vectorization@1481623 13f79535-47bb-0310-9956-ffa450edef68