Wiring in shadow extraction

WIP: @markhibberd 



Just as food for thought - I wouldn't normally run all the tests locally, so I wonder whether we're better failing hard here just to avoid this silently breaking (it runs until the end as well, so it won't hide real/useful results from other tests)