Fixed ct tests to actually test what they were meant to test.

Some of the tests were silently failing, mainly the rdb_version_5_with_checksum test. So all tests now try to match the return of the rdb_load function correctly. Also added in a small code change which causes the rdb_version_5_with_checksum test to pass when parsing a v5 rdb file.