moved some common functionsinto CommonTest.java and CommonTestDropbox.java