Swapped expected/actual values in test code