Added test cases for erbi_temp_db_helpers functions