Tests added for this scenario.