Move queue.rs to tests

The lack of a main() function in queue.rs doesn't allow it to reside in the
'examples' folder - move it to 'tests'