You can use LineOfSight behavior (or multiple LineOfSight behaviors with different settings) on the TesterHelp sprites to check if the player is in LOS, or if there are other enemies nearby. It also allows to cast rays, for example if you need to find the exact position of an obstacle between that sprite and the player.
I also suggest re-using these TesterHelper sprites, instead of constantly creating and destroying them. Keep them somewhere off-screen when they are not needed, and move to the random point when required.
This whole task is pretty advanced. I recommend studying a few tutorials and built-in examples in C3 on how to use LOS behavior and raycasting. Try to make a very dumb AI first, then improve it bit by bit.