Implement basic functional testing
Merge branch 'master' of https://github.com/joboc/derivatives