restructure test suite to use fixtures
Fix script fixtures typos.
WIP: refactoring test and ebuild tests