Tests for DateSerializer and LocaleSerializer