now generates all files and test passes