Change charge value to not null and unit test.