use Guard::Compat

- fix tests with newer Guard by using Guard::Compat