modified test and documentation