Added tests to make sure that the cross point calcuations are good.