Refactored the bitly plugin, fixed the error I introduced, and created the start of a test suite.