I tried examples with my own private key and address and seems like running a transaction (by bitcoin-cli) does just not work! Mostly the error is: error code: -25 error message: bad-txns-inputs-missingorspent