general test programs to learn ruby