Correction to tests and regex
delete compiled python files
added gitignore