testing handling of the $0 argument to extract file and dir

Signed-off-by: Alexei Znamensky <russoz@cpan.org>
test-heredoc-listop.bash

tests on how to make here documents and conditional execution work together

Signed-off-by: Alexei Znamensky <alexei.znamensky@movile.com>
removed unnecessary ()

Signed-off-by: Alexei Znamensky <alexei.znamensky@movile.com>