Fix self-test crash My earlier changes introduced a self-test crash. This patch fixes the bug by introducing a new method overload into mock_mapped_index.