add test except for isEqual