Using inspect_callable() to finally make the tests pass