Fixed bug at updateasset that close not exisiting nor open asset.h file. Fixed return type on 06-onion test.