Change map toUpper to upper
#177, use the $PATH variable to resolve cmd
#177, tests for $PATH resolving in cmd