test some functions