Add missing case to ->>
Add unit test for commit f76471ae which closes issue #7.