Added advanced search tests