Update core.clj
Enhance tests.
merged more tests from nbeloglazov