Add test for QueryInterface