Use assert same when comparing objects