Add test for registering callable.