Intgrating testing framework with main file structure