Some test code for my own use.