updating client side unit tests for searchCode Ctrl