Add a test for reading integers