Moved window Search code. Created unit tests. 1 test is failing