Fix for issue 338

Calls to finalize() don't match to method name wildcard anymore.

One thing to note is that in the test I changed the mocked entity from interface (List) to a class (Object) as I couldn't reproduce the issue for interface mocks - I think that cglib's handling of finalize() adds to the mix.