Added test deployment for failures with java.lang.Error in addition of j...

...ava.lang.Exception

Signed-off-by: Julien Viet <julien@julienviet.com>