England in command of first Test but clever batting is needed