tests for search and hash and array classes