Fully testable SearchTest with progressmessages.

Changes:

- Implemented a restriction on sorting to only be implemented when doing a binary search.
- Implemented a smaller testbatch on sequentialsearches because it takes so much time.