simplified size test
use more semantic tests