[libqb] [PATCH] add tests for signal handlers