Rewrite slotted pages and fix tests.
Update the slottedtest main.cpp