Fix case type only signature(#10)

It is used 'interface' declaration.
add unit tests
Merge pull request #11 from syohex/support-type-only-case

Support type only case