add test for Dir on RunAction

[#84174532]

Signed-off-by: Ashvin Agrawal <ashvin@pivotal.io>