Term Repository Tests