Test: Add queue-async.js

Add some tests for the queue. Also,
it was behaving like a stack, and now
it behaves like a queue.