Add mutateSource containing function tests.