Rename #to_ruby_string to #test
Instead of directly building output strings, build up objects representing tests instead.
Use befores for our stubby method tests, and get rid of global variables.