Shorten directory functional test