Created test to check if the number is out of bounds