Adding test code for sigaction

Signed-off-by: Abhishek