added some tests and guiding comments