remove test directories afterwards.