fix unit tests for integer