Fix buglink plugin

and add a test of buglink to test_basic