Some tests using AngularJS and Firebase