test add resources directory