Fixes to detect the tests folder