partially working tests for hash map