Remove superfluous PCM test, add more asserts to FLOAT test
Add test file to check consistent use of default arguments
Use lambdas in addfinalizer() where possible

This the way it was before. A separate local function is only needed for
the case where an exception is expected in the finalizer.