Added a few more tests for core module.