[#19][#20] replace unittest tainting by mock functions

yeah, is not very nice.. I would like to use a `dict` to keep these 2 functions simple:
https://github.com/JahPowerBit/counterpartyd/blob/develop/test/conftest.py#L38
let me make some tests to remove this double reference..