Added some tests for repeated input.
Merge pull request #7 from JohnRandom/master

Added some tests for repeated input.