Make test targets depend on 'ag'

Otherwise only config.status etc get refreshed, but not the `ag` binary
itself.