Split preparing and testing into different tasks

Fix #106
Extracting