Wouldn't the possibility that a surface-to-air missile system was being tested inshore, adjacent to the flight path out of JFK, be essentially...zero?
No. The purpose of the test was to prove that they could take out a drone with a missile in a crowded Commercial airline corridor without hitting the wrong target.
The test didn't go very well.