Adding tests for the Interval serializer and deserializer