added definitions for test-plugin