Added tests for account api
Added test for url that return token