Corking nano test tubes by chemical self-assembly.