Unit tests, refactoring, and code cleanup for WordMapDao
implementations.