Added core unit tests and they rule