Added test to check correct installation

This spins up a master, slave and uses the bundled CLI to execute a shell task on the cluster which writes a file. Correct execution is verified by testing for existence of that file.
use `do` ... `end` instead of curlies for multi line blocks