pyldb: Add tests for the ldb_result object