Removed rest of order-code from BTreeStorageManager and moved tests.