Add test invoke of method with params