Make test targets depend on 'ag'

Otherwise only config.status etc get refreshed, but not the `ag` binary
itself.
Merge pull request #546 from blueyed/make-test-depend-ag

Make test targets depend on 'ag'