added tests for update-dependency command