testing dynamic search