FIX: clean test/apps
REFACTOR: uploadDir