test: keep installonly in the original state in test_goal_installonly().
goal: support forcebest flag.

Related: RhBug:882211