add more tests
add dump request option
add template