segfaulttest: introduce new test

That is useful to test the behaviour of an application that is run
inside the GNU debugger.

Signed-off-by: Cleber Rosa <crosa@redhat.com>