Added tests using unittest. Requires a spreadsheet and the test code.
Re-factored quanda.py to make testing easier.