testing the case when searching unexisting element