Unit test for update endpoint