Added and test cover some database loading checks.
Properly test the back reference.