The headphone output contains an additional amplifier to be able to drive headphones.
The Line Outs should and do give a very low signal for feeding into an amplifier, but if you can still hear a signal from L & R on headphones from the Linout test then the keyboard is OK.