fixing bug where we elimiated 'test' dirs, which is used by khan and our caching code