Use assertEqual instead of deprecated assertEqauls.