Initial tests and refactor of trust.py

### Changelog
* Unit test generation of proof-of-burn address.
* Minor module refactor.