Set test state/status correctly in cells