Core: Tests

- Added a test project for the Core assembly.
- Wrote tests that cover everything in the project.
- Defined new range classes for short and DateTime types.
- Fixed a few issues in range base classes.