Added compare_flags test