Added a few unit tests for RPM_Query

Case 85597: Added a few unit tests for RPM_Query