Improved profile tests to test tag linking in a cleaner fashion