Added user error inside magic tostring
Fixed test