added queue getters and create one unittest