Add unittests to Queue

Addresses #3.
Adds unittests to the Queue module.