TEST: Add test for rigid metric

Need test before refactoring metric to support non-rigid deformations too
ENH: Infrastructure for generic transforms

Still need to work on the GetValue() function