* some small fixes with type checking
+ first test/assertion