Adding unit tests for multimethod callback functions.