Fix build error and typo in unittest/identity.hpp