Added support for loading OPF items from the database, as well as verification functions in the
test case.