Refactored for better tests

Move the space reclamation test to test the Btree directly.