Search/sort corrections, test environment

Slew the Elm Street sort bug
Modified consoleTest to handle 2 testing environments
Removed useless checks in contact search