Bugfixes for DS3231 library based on harness test