migrating test and build tasks