Add declarations and tests for basic hash table.