build queue.rb and test