Add some tests covering recent bugs.