Update util.py
Merge pull request #89 from chennan47/develop

small fix to wiki tests
fix registration tests