local.sp.runs.test function

A function to calculate the local spatial runs tests.