Completed Dropbox core API with unit test.