Added package to Hat and HatTest