Fixing regre tests