Tests errors fixed.

Tests were not working with the current code, so
we they have been updated to the most recent
methods and workflow and now they work fine.