fix bug in test engine
add bulk query to main ui