Adds support for $<sprite>-layout variable
Gets test_pair_programmatic to clean after itself (assets)

So that one doesn't have to clear the assets dirs between test runs