Adding unit tests for the core.
Adding unit tests for the core.