bitcoin-cli says transaction amount and balance are 0, but that's not the case I imported a few TestNet addresses and sent some funds to one of them. When I run 

bitcoin-cli getaccount mvKoQLrzovNbgALa2D7prh9pagd2QUKpWo

it responds with the account I named it to. 

I sent 1.1BTC to that address, as can be seen here but when I run gettransaction it says amount: 0, but everything else looks correct. getbalance also returns 0. What am I doing wrong here?
it seems to be that you are not on the testnet network. and i noticed that you're sending the commands with attaching -testnet 


  bitcoin-cli -testnet getreceivedbyaddress 'mvKoQLrzovNbgALa2D7prh9pagd2QUKpWo'" 


To run Bitcoin on testNet

Stop Bitcoin and open ~./bitcoin/bitcoin.conf using any text editor.

and add testnet=1 save and close. 

try bitcoin-cli listunspent 0 9999 you should see the transaction.

Anyway if you were already running it on testnet network

try the following command to get address balance

bitcoin-cli getbalance "" 0 true


Arguments:


"account"         (string, optional)
minconf           (numeric, optional, default=1) Only include transactions confirmed at least this many times.
include_watchonly (bool, optional, default=false) Also include balance in watch-only addresses.