Use BodyConsumer for Dataset addModule REST API.
Make sure test write to tmp directory inside target directory.