Unit test: new test to check if QDropboxJson::clear() works correctly (it does not)

* Fixed a bug that caused a crash after clear() was called

references #12

Signed-off-by: lycis <daniel@deder.at>