tests and some minor fixes
0.1.1