[#DCMTEST-16] Create a dcm4chee-arc-query unit test

This is the original commit as it was made last week.  Let's start from the beginning...