LinkTest and hasOne test added