Adding unit tests for date range logic in Scala