added box test with flags