add test sample code.