extract base test class
return null in case of empty id