DEV: New functionality for regression tests - now returns test status