test some codes