added toString tests for guard classes