cleanup old link files
added tests for testing component