Fix typo; add test

This fixes the typo discovered as a result of https://github.com/boto/boto/commit/8fb8fa82c6d7cdd9db3ee33334b95a87e302b4e2 and adds a test so it won't happen again.

cc: @jamesls, @potyt, @noxiouz