Check for corefile if a test fails.