Adding test cases on preventing upgrade override