Add tests for grnxx::Bytes.
Fix a bug that PeriodicClock causes a critical error.