Swapped bad order of assertEquals arguments

plus formatting