FIX: unit test return codes