Apply upload tests to create

- Extracts upload tests into a method to more easily test the behavior,
  since it's common to create and update