Automated the tests with Guard