close #317 fixes the issue with types declared in another class then the one where it is used. Also fixes the case where a map has an optional type as its range type.
removed the remainder of the pos-string based tests