Fix testing dir
Load additional testing dependencies
Fix php errors