Test helper for testing Guard plugins