Add regression tests mentioned earlier

Oops, forgot to check these in... :]