add display tests and query