add activate unit tests