TS: added Weightless assert-on flag to alltests, fixed testing bugs.