Hack fix for static init material testing.

Also fix stack trace so it doesn't double-print first line.

Signed-off-by: Nick Minkler <sleaker@gmail.com>