added QED to tests, added a couple of error checks
Merge branch 'master' of github.com:SCheng4/piconot-external