Fixed tests for sup/sub. Remove unused parent attributes from Link