new isn’t going to work for UE4 classes, have you tried replacing new UMoveAction(); with GetWorld()->SpawnActor(…)?
edit: if it’s an UObject you should use something similar to TestObject = NewObject<UPWNTestObject>(this, UPWNTestObject::StaticClass()); instead
edit2: The answer hub has a bunch of good answers to lots of very specific problems. More info here.