tests: Add assert/expect functions for all assertions

This commit modifies tools/assert.sh to automatically generate
asset_some_condition and expect_some_condition for all types of
conditions defined in this file.