Fixed data truncation issues in HSQLDB related tests