Fixed failing unit test.
Handled extension methods in type guessing code.