Fix css in test
Fix rewrite url bug
'/page1' rewrite to '/page/1' - OK
'/page1?foo=bar' rewrite to '#404' - BUG