using published package for discovery schema
Fixed constructor argument and generated result check.