LMDB tests written in cpp