plugins, tests
link.class.php and plugins.php tested and corrected.
ignore data in test