add test script file, implement all common tests exposed by jugglingdb