Fixed embedLiteCoreInitTest to exit nice without crashes and leaks