tests: Change assertEquals to be py3k compatible assertEqual.

Signed-off-by: Jelmer Vernooĳ <jelmer@samba.org>