fixes in TestPlugin