Added autotests for QzTools helper functions.