Begin to implement span tree tests and invent some interesting
jasmine matchers in the process.