Unit tests on persistent queue

Share fixture and unit tests with memory queue