Preliminary unit test for add_to_queue