Add some barn-agent.cpp tests.
Merge pull request #19 from soundcloud/conor/test_barn_agent2

Add some barn-agent.cpp tests.