add test dir via loader instead of composer.json