added test for docroot, lib, apache dir existence and permissions