added tests for folder related controller files problems
wrote the code to pass test about folder related controller files problem