Fixes unit tests for constructor parameter changes.