made the safe thread test actually safe