added search tests and wait for element method