Added test framework.

I find it more readable, and apparently it's also more efficient.
Interesting SO answer: https://stackoverflow.com/questions/7299010/why-is-string-concatenation-faster-than-array-join