Dropbox tests

Add some tests and implement filepattern matching to match documentation.