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

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