Add unit tests for chunk q operations