failing test with PublicQuery and inheritance