Fixed tests to work with python 2.7

- Converted rounded numbers to ints for python 2.7
- Used assert_almost_equal instead of eq_ in test_summary since python 2.7 thinks `0.5666666666666667` and `0.566666666667` are not equal. Sigh.