trying to figure out why some tests fail occasionally