add spec to test Dataset#trim_*