more test fixing
improve testing
add simple example