fixed an import optimization from phpstorm and added a set of unit tests for the date items