(#14872) Fix logical error in a test

This patch fixes a logical error in an acceptance test for the
issue described in the respective ticket.
(#14872) Don't depend on augeas in acceptance tests

This patch changes the acceptance tests created to verify the fix
for the respective issue such that they don't depend on augeas.