Kaneria gives Pakistan the upper hand