fixed main.c (added test gotten from Tiago that I failed)