Separate excludes and tree libs
Add more test cases for nested modules