Mine works well on a just created testnet wallet.
There is something weird happening in the
sign_transaction() code that seems to make it ignore the
privkey 
@Ali2k, you might need to create an issue on the Electrum Github:
https://github.com/spesmilo/electrum/issues