Don’t compare int and None.
assertEquals deprecated in favor of assertEqual