I had an issue with a bad seed causing there not to be enough valid test points with a square root function.
Now it works perfectly. I added enough additional test_at points to eliminate the "not enough test points" error, and I added a -1 test_at value to check for the correct domain of the function along with your suggested flag set to 1.
Thanks, Davide!
Paul