Added test framework.

The test framework launch tests sequentially, but using a "real" temp file could indeed be better.