added some notes in test.R