added test and documentation