Test for class Adder

Added `test_class` to test the function-like `Adder` object (class with callable instance).