checking for non-int values in proportion test