unit test for db_interface adding blocks and testing them.