Updates to test functions from CAC
Merge branch 'master' of github.com:dankoc/Rdbn