Finished to adapt old unit test for project customization

Pending new unit test to cover all the lines + acceptance test

Signed-off-by: Pedro Paulo Vezza Campos <pedro@vezza.com.br>