Renamed tests folders
Added a sleep in functional tests to give apache some time to stop