Add functional search tests