Add arithmetic and boolean test/validation and implementation for is_integer function