fixed test to check for created files