Add tests for Shepherd conditionals