Fix test configuration and estructure