Better unit tests for integer and mysql database.