adding functional tests for queue interaction