updated tests to include file and directory size