Test: optimization
Test: fix wrong `location.search`