Factor out testing status checks