print exception message to STDERR; fix sfp test script