switched expected/actual in the tests