tests: Change assertEquals to be py3k compatible assertEquals