improve running tests standalone