Added a test class for the linked queue