bwtest v2: new structure; benchmark functions; new lecense