[FIX] res_config tests: isinstance(x, long) is False when x is an int!