Test the generic PSQ class