add python testing code to be able to call dll directly from python
update gitignore to ignore compiled python files and h5
update test code to not only print errors but also count them