Foundations of the test framework