Unit test for single-page app, ref #29