Updated the assertApprox unittest with more understandable code.