fixed operator=
fixed test