updated prioritized testing and collapsing states