rename test-query to run-query
only make query clickable if clickQuery is defined
rename view action to test