Some ruby learning tests