updated tests so that they stop hanging