Implement task tests for auto tasks

This allows are more detailed description for automatic tests, for example
a global timeout