fix GetValue in tests