Fix another bug
Fix unit test
Merge pull request #11 from elliotchance/adapter-bug

Fix another bug