Use deep equal for testing object values.