Merge "Add tests for 'LinkEnd' hook functionality"