add the unittest ldbi