Added support for dev api.
Added tests for creating account.