add a test for issue #25.
fix #25.

- propagate errors properly.
- the empty time series should include the field names.
whitespace.