Fixed AddressBookDAO and started writing the tests.