Right testing of login api
Login return Future with Map from JSON response
better using of callback