feat(sync_tests): add base_dir parameter to node functions
- Updated various functions in sync_tests to include base_dir parameter - Modified function calls in test scripts to pass base_dir - Improved directory handling by using base_dir instead of current directory