handling status not allowed to check tests