Added test for signature method that takes object or list of objects.
Cleaned up in tests.