Fixing various faling tests. The problem was not closing the statements, among other things