Giovanni Mascellani : tests: Use test utils to create the pipeline state in test_ps_layer().