Netanyahu finishes testimony in corruption case