Fixes all bugs to pass all tests suite for E3 deliverable. However, E2 tests suite still doesn't work with new allocate_DIR() implementation
Merge pull request #24 from griera/master

Fixes all bugs to pass all tests suite for E3 deliverable. However, E2 t...