testsuite extended

Also files exporting returned to exit handler, because gcov didn't worked