Added isCommonObject  and some extra tests