fixed running tests