Added PHQL test