fix running tests