Different dependency graph between tests

For reference Firebase library add issue arduino mobitz is the exact issue I’m having. The suggested fix worked until I tried splitting the test from one file to two separate files making 2 tests which build separately.