add test for subdirectory support