Add mutateSource containing function test.