I added the integration tests for sdk syncdb command.
I improved integration tests so that they also cover tokens invalidation.