Work on tests for update endpoint