Started to write tests for search