Agent Contract Test