Added CC_ASSERT_INT() assertion macro and supporting function.

Updated tests to use CC_ASSERT_INT() where appropriate.