Account for missing directory when running tests