Fixed assertEqual order in tests

Correct order should be assertEqual(<expected value>, <actual value>)
Merge pull request #84 from trobert2/test_refactor8

Test refactor8