ruby learning and a test for establishing repo