amoc_test function

Conduct an AMOC hypothesis test