Add test "randomerrortest".

Raises a random error test (warn, skip, error, etc.).

Signed-off-by: Ruda Moura <rmoura@redhat.com>