Updating test to properly detect script including