Add test for populating queue