Change the file structure in constraints tests