toggle test as plugin