Test for goto-declaration

Unit test for goto-declaration

@devoncarew