Added new test for handling case where 0 needs to be replaced.