Added tests, relates to issue #52
- Added tests for date format.
- Removed SDK's global dateformat function as no longer needed.