wip: add exception for invalid function calls
wip: add more unit tests for date functions
wip: remove accidental tab