fixed profile search tests.