Using a valid id range for integer in test

After this commit
2b73f780ffa52baba09511b2db753f0fde574c14

We are checking loaded? so this test case
started failing becuase of invalid ineteger
range

Case for mysql and postgresql