Fix: eclipseState no longer shadowed.
Squash warnings by removing or commenting out unused parameters.
Suppress unused argument warning.

The eclState argument was added in PR#634, and may be needed later.
Until then, this silences the warning generated.
Move local type tags out of individual tests.

This fixes build on GCC 4.4.
Merge pull request #642 from bska/no-local-tags

Move local type tags out of individual tests.
Merge pull request #641 from atgeirr/fix-warnings

Fix warnings