Add a self-contained test for quartz

Signed-off-by: Mattias Andrée <maandree@operamail.com>