Check for NULL and empty commands
Wrote tests and fixes for construct_sudo_cmd
Verify username for sudo isn't whitespace or empty