Add test about to call method of ruby