This page contains tests for the String.prototype extension methods. To see them, take a look at the source.