[testing] Add testing of assert.