corrected tests according to new test running policy and found better way to get opened project