add existing query string option
add template link routing unit tests