Just to prove the point, I have written 2 test cases at (https://gist.github.com/matthewrmshin/7795923).