updated integers with better tests for hex strings