Fixed print_flag output message and improved the main.c test