fixing testrun creation