Added tests to JQueryMobile/RouterFactory