Adding in tests and implementing QueueProcessingSystem