use decoder to load module in runtime, fix runtime tests