Fix bug in item test
Fix some item test (these must not depend on each other!!)
Refactor search function to support custom search
Test for custom search
Fix legacy column search code