extended cap constraints with size constraints
indentation
pass required parameters to dfdb
reset pointer after freeing
added one more test