Use allclose in test to remove failure reported by Vijayaditya Peddinti