add test for QueriesComponent
reformat code
doing reformat
add fixture
split method
reformat