Test type guessing (Fixes #72)