add test cases for ensuring service ordering for getServiceReference() call fix unit tests - service ranking has to be Integer, not Long