added test for non-integer input