This formdata file doesn't exist on the file system (did you forget to upload it?), and it also isn't given a name in the define function here. It is called as FormData below, so that should probably be its name. This needs to be fixed for the fileservice tests to work.