I have two functions running at the same time(simultaneously). I want to write my test inside one of them. I mean I want to run my test\'s simultaneously with my other funct