added tests for hist.POSIXt() and hist()