test: simplify the initializing code for the predefined globals
test registration of a uint8 type that supports add
verify that uint_object is only used with unsigned types
fix and improve for subscript test