ASSERT_INT for functions that return int