add test for running privileged commands [#77143796]

Signed-off-by: Johannes Petzold <jpetzold@pivotal.io>