create test fixed
create test changed to json marshalling