Preliminary version of test framework.