use lowercase functions in actiontest and fix jsb action bugs