[Bug 1289] New: - loads of bugs in a nice test program