Rename dataset parameter to name. Support raw query mode in test. Update examples to match new API.