Issue/#105: Added test class for QueueDataResource

@Win. I borrowed so much from MainResourceControllerTest class for REST module. What I have done is to just set up the environment for tests and that is what i request that you review then we discuss,