[System] Fix most warnings on the System test suite