added core module unit tests