fix peek() for LifoQueue

Currently `q.peek() != q.get()` for LifoQueue. This simple patch fixes the bug and provides a regression test.