hash vector loader and tests