Resolve "Implement a testing harness for functional tests" Closes #76 See merge request !33
Also add a couple of examples of unit tests