Finished unit test for newest changes. tested against 7 records 1 hour appart.
TODO: test with more than 24 records, verify that date graph is correct.