Renamed test class for better readability
Fixed exception messages and added tests
Fixes #3 Handle unrecognizable types: multiple types, generics, arrays, …
Added missing @deprecated tag (forgotten?)