Fix and extend link table tests
Add 'use warnings', test case-insensitive ->get_field