Add tests and fix the comparison operator.

Also, throw an error when relative and non relative deltas are compared.

This fixes bugs where comparing across fields wasn't supported (i.e. `minutes=60` vs. `hours=1`)