Add encoding of running test cases.