Laborers, who hire themselves out to serve on plantations or to work in manufactures, have not the right of leaving the person who has hired them, nor can they be sent away by the proprietor, until the time has expired during which they had agreed to serve, unless good and just causes can be assigned.