fixing jstd tests hanging