Moved test extension into text spec.

Pretty trivial. Makes it easier for people looking at the library to figure out what goes in app code and what goes in test code.