Fixed use of assertIs instead of assertEqual