changed operator>>. added new test