[test] Added test for the sub directories