Fix broken tests cause by privatizing some methods in AHashTable