Fixed perl code gen tests
Merge branch 'emma' of github.com:intermine/intermine into emma