Add back in custom inf and -inf classes as float('inf') is not properly comparable to other objects like da
tetimes. Also add in tests for these new classes.