Set colorful output (--test)
Add spec
Add check for output type (tty or else), fix file rule check error, change dir_name to dir_path