added test for randint