added runAllTests func