Context failure tests

Contains a mvn profile TaskFailure and a unit test ContextFailureTest. The test in fact hangs on my machine.
wrong javadoc