Adding nested guard test from Per Bothner.