Add another test, swapViewTestApp which has been setup to use a custom layout controller (DivIdBasedLayout) along with mobile/SwapView and mobile/PageIndicator. The DivIdBasedLayout will try to layout views by appending them inside the div with the id that matches the value set in the constraints for the view.