added test and code to enable filtering links by tag