@Test
    public void testConversion()
    {
        try
        {
            Time time = new Time(1,2,3);
            byte[] data = Utils.object2Bytes(time);
            Time newTime = (Time) Utils.bytes2Object(data);
            Time badTime = new Time(3,2,1);
            assertEquals(newTime, time);
            assertNotSame(newTime, badTime);
        } catch (IOException ex)
        {
            Logger.getLogger(UtilsTest.class.getName()).log(Level.SEVERE, null, ex);
        } catch (ClassNotFoundException ex)
        {
            Logger.getLogger(UtilsTest.class.getName()).log(Level.SEVERE, null, ex);
        }
        
        
    }