Restore statuses factory as it is used in Cucumber