Re-ordered tests
Added option --verbose
Added option --critical
Added option --critical in script
Uses perl instead of cat for tests portability
Uses IPC::Cmd instead of `which` for portability