Fix failing tests

This patch fixes failing tests form the consul
commit.
Merge pull request #91 from bodepd/fix_tests

Fix failing tests