Fix funcional tests