Fix tests and improve dropbox default settings