Modified tests to correctly change values