Use destructure form in test.py
Merge pull request #144 from flsafe/refactor-test

Use destructure form in test.py