Add guard config
Add test snippet