#157 refactoring bitcoin payment test