fix a test not compiling
propagate error messages and statuses from the SWF API