Added assertIs and assertNotIs.