Test framework and simple test