Fix tests so they actually pass

@bensheldon, would you mind running these to make sure some of the precision issues aren't just different across machines/platforms?