Add assertion interface so tests can be ran with -O mode