fixed get_handler_args* tests
improved tests by using Mock objects