Copy tests from postgresql