Added tests for nested directory