Fixes plugin tests