Fixed update of InternalVisibleToAttribute and add two tests