maintenance
added tests for failing tasks

errors in modules and bad return codes