I just sent a PR for AEROGEAR-499.
https://github.com/aerogear/aerogear-js/pull/5
these tests only test the client side api.
There will probably be other tests needed once the api is finalized, example, the isAuthenticated issue Matthias found