BZ-988876 - Test scenario cannot find facts from the same package

(cherry picked from commit 90f1d84741dc7c0489db536a6893175d06919686)