added wallet.branch_prime(n)
split test into examples/