Some classes fixes and AvroJob created with test.