Added example/test for http://stackoverflow.com/q/16796519/23354
Merge pull request #2 from SamSaffron/master

Added example/test for http://stackoverflow.com/q/16796519/23354