added if (!err) to integer tests