remove wrong import
add type error test for issue #11