Lots more tests for the stack dist calculator.