Rewrote tests so that they now pass. This required changing some of the floats by epsilon.