add tests for the bug reported in https://github.com/Medium/soynode/pull/29

Hello @nicks, 

Please review the following commits I made in branch 'nick-bind'.

83207c2a9c62f8ef13df9ccd676051e1198f9b31 (2014-08-21 10:06:01 -0400)
add tests for the bug reported in https://github.com/Medium/soynode/pull/29

R=@nicks