Partial implementation of testrundat