Add tests for the search
Fix mistake in url for complex search
Add test for complex search
Change name of the template file