added typing test