PreparedStatement and tests