make sure assert works in release mode