Fixing functional tests (broke due to json files being ignored, now it is created during testing like it should be)