Nested tests

... developed a while ago, but forgotten.
Commited so I don't misplace them.