add a test code for modification