make unittests executable
break up unittests to be more granular
rewrite unittests to reflect log error on empty file list
add check for empty filelist
cleanup temporary test directory