Add automated tests with Guard