removed extra namespace wrap in test
fixed spec naming
added spec for flatObjectsAreEqual