Made the test c++03-compatible, fixed Simple test
Fixed work in relative path
Added SIGABRT handler