Fixed unit tests. Added test for nsstring and dates