Adding a test that takes excluded scripts into consideration