better assertion error log
update some tests