Fix tests for local plugins