Added methods peek, pool and elment, tested QueueHAndler and added logic
to the test class