copying fixed again; cleanup; tests
Merge branch 'master' of github.com:ericdwang/PDSQL