Added block avoidance test