fixed serialized wrong value and updated failing tests for should version 4.0.4