test1513: Don't return an uninitialized variable on init failure
tests: Use standard libtest return codes when relevant