bug fix: $expected should be the first parameter of assertEquals()