profiles: add mocks for detcommon
all: add support for set_remove