Fixed testing program for str_comp