Functional setupTestBeacons method for one beacon added to mobile, in Angular Factory