etvdb_test: output time
replace curl boilerplate code with macro
safe some lines of boilerplate code