learn_ruby: added tests and depreciated warnings