Added tests to cover both User.token and streams#last action