Adding failing tests to identify cause for #513
Writing my first test-first function for zebra: huzzah!
Closes #513 by creating alternative output for single datapoint, though some refactoring is needed to clean up the charting code a bit.
Adding more tests on charts
Merge pull request #671 from onaio/513_chart_fixes

513 chart fixes