Add functions for the database for RMQ on normalized blocks.
Add tests for the block RMQ database.