Fix errors and some warnings handling test00.upc