Added feature to negate a flag in nested expects
Started converting core assertion to use expect instead of assert