Fix SplitDateTimeField

SplitDateTimeField required some minor changes to make it work. Also added tests for it.