Added ChangeScheme to template functions
Added test for ChangeScheme