Functional queue behavior with mock code